package com.stud.common.core.web.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.stud.common.core.annotation.validator.ValidateInterface;

/**
 * Entity基类
 *
 * @author stud
 */
public class BaseEntity extends SystemBaseEntity implements ValidateInterface {
    @TableId(type = IdType.AUTO)
    protected Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
